package com.datastructure.test.doubletoken.totalOfArray.sumofthreeofarray;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class SumOfThreeFromArray {
    public static void main(String[] args) {

    }

    public List<List<Integer>> getSumOfThreeFromArray(int[] arr){
        List<List<Integer>> res = new ArrayList<>();
        Arrays.sort(arr);
        for (int i = 0; i < arr.length; i++) {
            if(i>0&&(arr[i]==arr[i-1])){
                continue;
            }
            int start = i+1;
            int end = arr.length-1;
            while (start<end){

            }
        }
        return res;
    }
}
